package com.piccolo.wrapper.client.component.JSNI;

import com.piccolo.wrapper.client.component.Overlay.PBoundsOverlay;
import com.piccolo.wrapper.client.component.Overlay.PNodeOverlay;
import com.piccolo.wrapper.client.component.Overlay.PShapeOverlay;
import com.piccolo.wrapper.client.component.PShape.Shape;

public class PShapeJSNI 
{
	public native PShapeOverlay create(Shape theShape, String theStyle, PBoundsOverlay theBounds) 
	/*-{ return new $wnd.PShape({shape: theShape, fillStyle: theStyle, bounds: theBounds}); }-*/ ;

	public native PNodeOverlay create(Shape theShape, String theStyle, PBoundsOverlay theBounds, String theText, String theFont) 
	/*-{ return new $wnd.PShape({shape: theShape, fillStyle: theStyle, bounds: theBounds, text: theText, font: theFont}); }-*/ ;
}
